import {postData,getData} from "./http";

//登录
export const login = (data,name) => postData(`/manager/login?name=${name}`,data);

//退出登录
export const logout = () => getData(`/manager/logout`);
